﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Entity;

namespace BO
{
    public class OutNewListOnBusiness
    {
        #region code CMS

        public static int InsertOutNewListOn(OutNewListOn OutNewListOn)
        {
            var result = FreshCmsDataAccessProvider.OutNewListOn.InsertOutNewListOn(OutNewListOn);
            return result;
        }

        public static int DeleteOutNewListOnByNewId(int newId)
        {
            var result = FreshCmsDataAccessProvider.OutNewListOn.DeleteOutNewListOn(newId);
            return result;
        }

        public static List<OutNewListOn> GetOutNewListOnByNewId(int newId)
        {
            var result = FreshCmsDataAccessProvider.OutNewListOn.GetOutNewListOnListByNewId(newId);
            return result;
        }

        #endregion
    }
}
